package net.ibizsys.eclipse.studio;

import net.ibizsys.eclipse.studio.data.IBizUser;

/**
 * 
 * @author <a href='http://www.weibo.com/xjtoo' target='_blank'>Enmaai</a>
 */
public interface IUserActivator
{
	/**
	 * 是否登录
	 * 
	 * @return
	 */
	public boolean hasLogin();

	/**
	 * 当前登录用户
	 * 
	 * @return
	 */
	public IBizUser curUser();

	/**
	 * 登录
	 */
	public void login(IBizUser user);

	/**
	 * 注销
	 */
	public void logout();

}
